﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CotaBusca.aspx.cs" Inherits="Financeiro.CotaBusca" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Cotas</h2>
    De&nbsp;
    <asp:DropDownList ID="drpMesStart" runat="server">
    </asp:DropDownList>
    <asp:DropDownList ID="drpAnoStart" runat="server">
    </asp:DropDownList>
    &nbsp;até&nbsp;
    <asp:DropDownList ID="drpMesEnd" runat="server">
    </asp:DropDownList>
    <asp:DropDownList ID="drpAnoEnd" runat="server">
    </asp:DropDownList>
    &nbsp;&nbsp;
    <asp:Button ID="bntBuscar" runat="server" OnClick="bntBuscar_Click" 
        Text="Buscar" Width="117px" />
    &nbsp;<asp:Label ID="DateIntervalValidationMsg" runat="server" Font-Bold="True"
        Font-Strikeout="False" ForeColor="Red"></asp:Label>
    <br />
    <br />
    <asp:GridView ID="grdCotas" runat="server" 
        HorizontalAlign="Center" OnRowDataBound="grdCotas_RowDataBound"  
        Width="100%"  AutoGenerateColumns="false">
    <Columns>
     <asp:BoundField Datafield = "id" Visible="false" HeaderText = "ID" />
     <asp:BoundField Datafield = "setor" Visible="true" HeaderText = "Setor"/>
     <asp:BoundField Datafield = "valor" Visible="true" HeaderText = "Valor" DataFormatString="{0:C}" />
     <asp:BoundField Datafield = "extra" Visible="true" HeaderText = "Extra" DataFormatString="{0:C}" />
     <asp:BoundField Datafield = "tipo" Visible="true" HeaderText = "Tipo" DataFormatString="{0:C}" />
     <asp:BoundField Datafield = "created" Visible="true" HeaderText = "Criado" dataformatstring="{0:dd/MM/yyyy}" />
    </Columns>
    </asp:GridView>
</asp:Content>
